/* =========================================================
   INDIA SAMJHO HEADER - COMPLETE CSS
   Fixed Desktop Width: 1180px
========================================================= */


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "DM Sans", sans-serif;
    background: #ffffff;
    color: #273142;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

button,
input {
    font-family: inherit;
}


/* =========================================================
   MAIN FIXED CONTAINER
========================================================= */

.top-bar-inner,
.header-inner {
    width: 1180px;
    max-width: calc(100% - 40px);
    margin-left: auto;
    margin-right: auto;
}


/* =========================================================
   TOP RED BAR
========================================================= */

.top-bar {
    width: 100%;
    height: 31px;

    background: #d71920;
    color: #ffffff;
}

.top-bar-inner {
    height: 31px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    font-size: 10px;
    font-weight: 500;
}

.top-message {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.top-social {
    display: flex;
    align-items: center;

    gap: 13px;

    flex-shrink: 0;
}

.top-social a {
    width: 15px;
    height: 15px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #ffffff;

    font-size: 10px;

    transition: all .2s ease;
}

.top-social a:hover {
    opacity: .65;
    transform: translateY(-1px);
}


/* =========================================================
   MAIN HEADER
========================================================= */

.main-header {
    width: 100%;
    height: 76px;

    background: #ffffff;

    border-bottom: 1px solid #eeeeee;

    position: sticky;
    top: 0;

    z-index: 9999;

    box-shadow: 0 2px 12px rgba(0, 0, 0, .04);
}

.header-inner {
    height: 76px;

    display: flex;
    align-items: center;

    gap: 28px;
}


/* =========================================================
   LOGO
========================================================= */

.site-logo {
    min-width: 190px;

    display: flex;
    align-items: center;

    gap: 10px;

    flex-shrink: 0;
}

.logo-icon {
    width: 42px;
    height: 42px;

    border-radius: 10px;

    background: #d71920;
    color: #ffffff;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 20px;

    box-shadow: 0 4px 10px rgba(215, 25, 32, .18);
}

.logo-text {
    line-height: 1;
}

.logo-name {
    color: #1e2430;

    font-size: 20px;
    font-weight: 800;

    letter-spacing: -.4px;
}

.logo-name span {
    color: #d71920;
}

.logo-tagline {
    color: #6d7480;

    font-size: 7px;
    font-weight: 700;

    letter-spacing: 1.5px;

    margin-top: 5px;
}


/* =========================================================
   NAVIGATION
========================================================= */

.main-nav {
    flex: 1;

    display: flex;
    align-items: center;
    justify-content: flex-end;

    gap: 21px;

    height: 76px;
}

.main-nav a {
    position: relative;

    height: 76px;

    display: flex;
    align-items: center;

    color: #273142;

    font-size: 11px;
    font-weight: 600;

    white-space: nowrap;

    transition: color .2s ease;
}

.main-nav a:hover {
    color: #d71920;
}

.main-nav a.active {
    color: #d71920;
}

.main-nav a.active::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: 16px;

    height: 2px;

    background: #d71920;

    border-radius: 5px;
}


/* =========================================================
   SEARCH BUTTON
========================================================= */

.header-search {
    width: 35px;
    height: 35px;

    flex-shrink: 0;

    border-radius: 50%;

    background: #d71920;
    color: #ffffff;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 12px;

    box-shadow: 0 4px 10px rgba(215, 25, 32, .16);

    transition: all .2s ease;
}

.header-search:hover {
    background: #b91118;

    transform: translateY(-1px);

    box-shadow: 0 6px 15px rgba(215, 25, 32, .22);
}


/* =========================================================
   MOBILE MENU BUTTON
========================================================= */

.mobile-menu {
    display: none;

    width: 35px;
    height: 35px;

    border: none;
    border-radius: 7px;

    background: #d71920;
    color: #ffffff;

    cursor: pointer;

    align-items: center;
    justify-content: center;

    font-size: 15px;

    flex-shrink: 0;

    transition: all .2s ease;
}

.mobile-menu:hover {
    background: #b91118;
}


/* =========================================================
   TABLET / SMALL DESKTOP
========================================================= */

@media (max-width: 1220px) {

    .top-bar-inner,
    .header-inner {
        width: calc(100% - 40px);
    }

    .main-nav {
        gap: 15px;
    }

    .header-inner {
        gap: 20px;
    }

}


/* =========================================================
   MOBILE NAVIGATION
========================================================= */

@media (max-width: 1050px) {

    .top-bar-inner,
    .header-inner {
        width: calc(100% - 30px);
    }


    /* Hide desktop navigation */

    .main-nav {

        position: fixed;

        top: 107px;
        right: -320px;

        width: 300px;
        height: calc(100vh - 107px);

        padding: 15px;

        background: #ffffff;

        display: flex;
        flex-direction: column;

        align-items: stretch;
        justify-content: flex-start;

        gap: 0;

        overflow-y: auto;

        box-shadow: -10px 0 30px rgba(0, 0, 0, .12);

        transition: right .3s ease;
    }


    /* Open menu */

    .main-nav.active {
        right: 0;
    }


    /* Mobile links */

    .main-nav a {

        width: 100%;
        height: auto;

        padding: 14px 12px;

        display: flex;
        align-items: center;

        border-bottom: 1px solid #eeeeee;

        font-size: 13px;
    }


    .main-nav a:hover {
        background: #fff5f5;
    }


    .main-nav a.active {
        background: #fff5f5;
    }


    .main-nav a.active::after {
        display: none;
    }


    /* Mobile button */

    .mobile-menu {
        display: flex;
    }


    /* Search */

    .header-search {
        margin-left: auto;
    }

}


/* =========================================================
   MOBILE TOP BAR
========================================================= */

@media (max-width: 700px) {

    .top-bar-inner {
        width: calc(100% - 24px);
    }

    .header-inner {
        width: calc(100% - 24px);
    }

    .top-message {
        max-width: 70%;

        font-size: 8px;
    }

    .top-social {
        gap: 8px;
    }

    .top-social a {
        font-size: 9px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .top-bar {
        height: 29px;
    }

    .top-bar-inner {
        height: 29px;
    }


    .main-header {
        height: 70px;
    }

    .header-inner {
        height: 70px;
    }


    /* Logo */

    .site-logo {
        min-width: auto;

        gap: 8px;
    }

    .logo-icon {
        width: 37px;
        height: 37px;

        border-radius: 9px;

        font-size: 17px;
    }

    .logo-name {
        font-size: 17px;
    }

    .logo-tagline {
        font-size: 5.5px;

        letter-spacing: 1.2px;

        margin-top: 4px;
    }


    /* Search */

    .header-search {
        width: 34px;
        height: 34px;

        font-size: 11px;
    }


    /* Menu */

    .mobile-menu {
        width: 34px;
        height: 34px;
    }


    /* Mobile navigation */

    .main-nav {
        top: 99px;

        height: calc(100vh - 99px);

        width: 270px;
    }

}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 360px) {

    .top-message {
        font-size: 7px;
    }

    .top-social {
        gap: 5px;
    }

    .logo-name {
        font-size: 15px;
    }

    .logo-tagline {
        font-size: 5px;
    }

    .logo-icon {
        width: 34px;
        height: 34px;
    }

    .header-search,
    .mobile-menu {
        width: 32px;
        height: 32px;
    }

    .header-inner {
        gap: 6px;
    }

}